﻿using InvestmentIntelligence.DbModel.Models;
using System.Collections.Generic;
using System.Linq;

namespace InvestmentIntelligence.Data.Repository.EFImplementation
{
    public class BookSecurityStateRepository : IIPRepository<BookSecurityState>, IBookSecurityStateRepository
    {
        public List<BookSecurityState> GetListByBook(int bookId)
        {
            return GetList(dc => dc.Where(c => c.FundBookId == bookId));
        }
    }
}